module forever_loop;
    int a = 0;
    initial begin
        $display("-----------------------------------------------------------------");
        forever begin
            $display("\tValue of a = %0d", a);
            a += 1;
            #5;
        end
        $display("-----------------------------------------------------------------");
    end
    initial begin
        #20 $finish;
    end   
endmodule
